package cn.kgc.service.impl;

import cn.kgc.dao.GlDao;
import cn.kgc.dao.GlExcelDao;
import cn.kgc.pojo.GlExcle;
import cn.kgc.pojo.PersonnelGl;
import cn.kgc.pojo.ResumeGl;
import cn.kgc.service.GlService;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author:
 * @date: 2022/2/17
 * @description:
 */
@Service
public class GlServiceImpl implements GlService {
    @Resource
    private GlDao glDao;
    @Resource
    private GlExcelDao glExcelDao;

    @Override
    public Page<PersonnelGl> selAllPersonnel(String department, String name, String status) {
        return glDao.selAllPersonnel(department,name,status);
    }

    @Override
    public List<GlExcle> selall() {
        return glExcelDao.selall();
    }

    @Override
    public Page<ResumeGl> selAllResume(String name) {
        return glDao.selAllResume( name);
    }
}
